package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.Employee;
import cn.gson.crm.model.pojos.User;
import cn.gson.crm.model.pojos.UserRole;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CenterMapper {

    public User selectUser(int yid);

    //    public Employee selectEmp(@Param("ygId")int ygId);
    public List<UserRole> selectRole(@Param("yId")int yId);

    public List<User> selectUserRole(@Param("yid") int ygId);

}
